#!/bin/bash

chmod +x mjpg_streamer.sh

cd /home/dell/mjpg-streamer/mjpg-streamer-experimental

export LD_LIBRARY_PATH=.

./mjpg_streamer -i "./input_uvc.so -d /dev/video0 -q 80 -r 1280x720 -u -f 30" -o "./output_http.so -w ./www"

#sudo ./mjpg_streamer -i "./input_uvc.so -d /dev/video0 -q 80 -r 640x480 -u -f 30" -o "./output_http.so -w ./www"